package com.yh.doing.Mediator.demo;

/**
 * @program: design-patterns
 * @description:
 * @author: yangh0597@163.com
 * @date: 2022-11-26 23:59
 * @problem:
 **/
public class ConcreteMediator extends Mediator {

    @Override
    void transferA() {
        this.colleagueA.selfA();
    }

    @Override
    void transferB() {
        this.colleagueB.selfB();

    }
}
